package com.ruge.algorithm.sort;

import java.util.Arrays;

/**
 * @program: ruge-algorithm
 * @description:
 * @author: ruge.wu
 * @create: 2021-12-19 22:06
 **/
public class BubbleTest {
    public static void main(String[] args) {
//        Integer[] arr = {4, 5, 6, 3, 2, 1};
        Integer[] arr = {6, 5, 4, 3, 2, 1};
        Bubble.sort(arr);
        // [1, 2, 3, 4, 5, 6]
        System.out.println(Arrays.toString(arr));
    }
}
